Repository navigation
CLI: Update Hypeman Go SDK to 6b281760d603033e2f78a87f5c24da8400b84585 - #68
Open
kernel-internal[bot] wants to merge 8 commits into
Open
kernel-internal[bot] wants to merge 8 commits into
kernel-internal[bot] wants to merge 8 commits into
Conversation
Bumps github.com/kernel/hypeman-go to v0.28.1-0.20260902045311-0872a65a3733, which integrates vendor VFIO vGPUs into the instance lifecycle. The SDK now documents InstanceGPU.MdevUuid as populated on mdev hosts only, and adds InstanceGPU.DevicePath for the sysfs path of an assigned vGPU device. `hypeman ps` gated its GPU column on MdevUuid alone, so an instance with a vendor VFIO vGPU and no profile name rendered as "-". formatGPU now also checks DevicePath. A full enumeration of api.md methods and CLI commands found no other coverage gaps: every SDK method has a CLI command and every param field has a corresponding flag. Co-authored-by: Cursor <cursoragent@cursor.com>
Bumps github.com/kernel/hypeman-go to v0.28.1-0.20260902143136-e6c2b7bc0171, which adds the "swtpm" value to InstanceLogsParamsSource as part of the Windows hypervisor primitives. Teaches `hypeman logs --source` about swtpm and validates the flag up front instead of forwarding an arbitrary string to the API, matching the parseInstanceWaitState / parseSnapshotTargetHypervisor pattern. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # go.sum
Bumps github.com/kernel/hypeman-go to v0.28.1-0.20261001160305-134587a222ac, which carries the SDK's 2026-09-30 vulnerability remediation. This commit is on main, whereas the branch previously pinned e6c2b7b from the SDK's next branch. The Windows hypervisor primitives generated there are therefore absent, dropping InstanceLogsParamsSourceSwtpm and InstanceGPU.DevicePath. Both values are still specified by the API, so rather than regress `hypeman logs --source swtpm` and the vendor VFIO vGPU column in `hypeman ps`, read them without the generated bindings: the log source is a string-backed enum, and device_path arrives in JSON.ExtraFields. Both can go back to typed access once next lands on main. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 22e9c31. Configure here.
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com> # Conflicts: # go.sum
Bump github.com/kernel/hypeman-go to v0.28.1-0.20261021130832-4623fef2ab5b. A full enumeration of api.md methods against pkg/cmd found no missing commands or flags. The SDK now types InstanceGPU.device_path, so drop the JSON.ExtraFields fallback in formatGPU and read the field directly.
Bumps github.com/kernel/hypeman-go to v0.28.1-0.20261021211416-6b281760d603. A full enumeration of SDK methods (api.md) and CLI commands was performed; all 63 SDK methods and their param fields are already covered by existing commands and flags, so no new commands or flags were needed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR updates the Hypeman Go SDK dependency to the latest version.
SDK Update
Coverage Analysis
A full enumeration of SDK methods and CLI commands was performed. No coverage gaps were found.
Triggered by: kernel/hypeman-go@6b28176
Reviewer: @kernel-internal[bot]
Note
Low Risk
Dependency bump plus localized CLI parsing and display fixes; no auth or data-path changes.
Overview
Bumps hypeman-go (and the pinned docker module) so the CLI tracks the latest SDK, including a typed
InstanceGPU.device_path.hypeman logs --sourcenow acceptsswtpm(software TPM) alongside existing sources, with case-insensitive parsing and clear errors for invalid values; the SDK constant is wired via a local alias until generation catches up.hypeman psGPU column again showsvgpuon vendor VFIO hosts by treatingdevice_pathlikemdev_uuidwhen no profile name is present.Reviewed by Cursor Bugbot for commit 4232fd3. Bugbot is set up for automated code reviews on this repo. Configure here.